x86/hvm: unify internal portio and mmio intercepts
authorPaul Durrant <paul.durrant@citrix.com>
Thu, 9 Jul 2015 17:04:00 +0000 (19:04 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 10 Jul 2015 07:42:56 +0000 (09:42 +0200)
commit49801a4f7940732a98b53c991195d63793d40901
treee0dbad986c1bae86d9cb880b4a3972d7a065f975
parent26bae158b9ce2642d62f19ccb1e796ca0249c55f
x86/hvm: unify internal portio and mmio intercepts

The implementation of mmio and portio intercepts is unnecessarily different.
This leads to much code duplication. This patch unifies much of the
intercept handling, leaving only distinct handlers for stdvga mmio and dpci
portio. Subsequent patches will unify those handlers.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/emulate.c
xen/arch/x86/hvm/hpet.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/intercept.c
xen/arch/x86/hvm/stdvga.c
xen/arch/x86/hvm/vioapic.c
xen/arch/x86/hvm/vlapic.c
xen/arch/x86/hvm/vmsi.c
xen/drivers/passthrough/amd/iommu_guest.c
xen/include/asm-x86/hvm/domain.h
xen/include/asm-x86/hvm/io.h